package com.woniu.common.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.woniu.common.annotation.Excel;
import com.woniu.common.core.domain.BaseEntity;

/**
 * 排班时间对象 sms_skd
 * 
 * @author woniu
 * @date 2024-10-21
 */
public class SmsSkd extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 剩余名额 */
    @Excel(name = "剩余名额")
    private Integer remain;

    /** 午别标识 */
    @Excel(name = "午别标识")
    private Integer noon;

    /** 员工ID */
    @Excel(name = "员工ID")
    private Integer staffId;

    /** 科室ID */
    @Excel(name = "科室ID")
    private Integer deptId;

    /** 排班限制 */
    @Excel(name = "排班限制")
    private Integer skLimit;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setRemain(Integer remain) 
    {
        this.remain = remain;
    }

    public Integer getRemain() 
    {
        return remain;
    }
    public void setNoon(Integer noon) 
    {
        this.noon = noon;
    }

    public Integer getNoon() 
    {
        return noon;
    }
    public void setStaffId(Integer staffId) 
    {
        this.staffId = staffId;
    }

    public Integer getStaffId() 
    {
        return staffId;
    }
    public void setDeptId(Integer deptId) 
    {
        this.deptId = deptId;
    }

    public Integer getDeptId() 
    {
        return deptId;
    }
    public void setSkLimit(Integer skLimit) 
    {
        this.skLimit = skLimit;
    }

    public Integer getSkLimit() 
    {
        return skLimit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("date", getDate())
            .append("status", getStatus())
            .append("remain", getRemain())
            .append("noon", getNoon())
            .append("staffId", getStaffId())
            .append("deptId", getDeptId())
            .append("skLimit", getSkLimit())
            .toString();
    }
}
